GoXam for WPF v3
HandleNodePropertyChanged Method (GraphModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > GraphModel<NodeType,NodeKey> Class : HandleNodePropertyChanged Method
preferably a ModelChangedEventArgs that describes what changed and how
This is the System.ComponentModel.INotifyPropertyChanged event handler for node data.
Syntax
protected virtual void HandleNodePropertyChanged( 
   object sender,
   PropertyChangedEventArgs e
)

Parameters

sender
e
preferably a ModelChangedEventArgs that describes what changed and how
Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If the e argument is a ModelChangedEventArgs, this first calls OnChanged in order to raise a Changed event to notify this model's consumers.

If the System.ComponentModel.PropertyChangedEventArgs.PropertyName is the same as the NodeKeyPath, ToNodesPath, FromNodesPath, GroupNodePath, or MemberNodesPath, this automatically calls DoNodeKeyChanged, DoToNodeKeysChanged, DoFromNodeKeysChanged, DoGroupNodeChanged, or DoMemberNodeKeysChanged, respectively.

See Also

Reference

GraphModel<NodeType,NodeKey> Class
GraphModel<NodeType,NodeKey> Members